package com.youfan.service;

import com.youfan.entity.YoufanOrder;
import com.youfan.re.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *
 */

@FeignClient(name = "youfanorder", path = "order")
public interface OrderService {


    @PostMapping("/add")
    @ResponseBody
    public Result add(@RequestBody YoufanOrder youfanOrder);

}
